namespace Zdotp.Actor.Components;

public abstract class ComponentBase
{
    protected ActorBase Actor;

    public void OnInit(ActorBase actor)
    {
        Actor = actor;
        OnAdd();
    }

    protected abstract void OnAdd();

    public abstract void OnUpdate(float deltaTime);

    public abstract void OnRemove();
}